<?
class SpeedCheck
{
	var $headtime = 0;
	function SpeedCheck()
	{
		list($msec,$sec)=explode(chr(32),microtime()); 
		$this->headtime=$sec+$msec;
	}
	function Draw()
	{
		list($msec,$sec)=explode(chr(32),microtime());
		print "<q style=\"position:relative; right:0; bottom:0;font-size:9px;color:#666666;border:1px #666666;\">".round(($sec+$msec)-$this->headtime,4)."</q>";
		print_r(Sslib::DB()->Timing());
	}
	function __destruct()
	{
		$this->Draw();
	}
	
}

?>